/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.my.bigsite.modules.act.service;

import java.util.List;
import java.util.Map;

import org.activiti.engine.RepositoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestBody;

import com.my.bigsite.common.mybatis.MybatisDao;
 

/**
 * @author wwy
 * @version 2016-11-03
 */
@Service
@Transactional(readOnly = true)
public class Conf_User_Service   {

	@Autowired
	private MybatisDao mybatisDao;  
 
	/**
	 * 删除模型
	 * @param id
	 * @return
	 */
	public void saveUser( Map<String,Object> mp) {
		mybatisDao.insert("conf_userMapper.insert", mp);
	}
	/**
	 * 获取
	 * @param id
	 * @return
	 */
	public List<Map<String,Object>> getUser(Map<String,Object> mp) {
		return mybatisDao.getList("conf_userMapper.findByNodeId", mp);
	}
}
